Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use jest-puppeteer-docker for docker #76

Closed
wants to merge 2 commits into from
Closed

use jest-puppeteer-docker for docker #76

wants to merge 2 commits into from

Conversation

mihkeleidast
Copy link
Contributor

Resolves #75, I think.

The example snapshots have been updated since the docker image built/used by jest-puppeteer-docker uses a different default font (not sure why or if we can force that to not change somehow).

@mihkeleidast
Copy link
Contributor Author

Closing this since I tried to make it work on an actual project but it turned out to be more complicated than necessary to get jest-puppeteer-docker to build an image in CI where there is no docker cli available. Instead I opted to use a similar logic to what is here right now, but instead of using the custom Dockerfile I used zenika/alpine-chrome image.

Either way, I've currently got this forked up internally so if any of the maintainers want to discuss the changes I needed to do to get this working properly (the most important of which was resolving #75) and would like to see these changes PR-d back here, ping me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"useDocker: true" does not allow configuring puppeteer via jest-puppeteer.config.js
1 participant